package com.xin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author WYX
 * @create 2020-04-02-10:04
 */
@Controller
public class ControllerDemo02 {

    @RequestMapping("/test")
    public String test(Model model){
        model.addAttribute("msg","演示controller注解");

        return "test";
    }
}
